function Storage() {
	
}

Storage.prototype.setItem = function(key, val) {
	window.localStorage.removeItem(key);
	window.localStorage.setItem(key, val);
}

Storage.prototype.getItem = function(key) {
	return window.localStorage.getItem(key);
}

//This function is dangerous.
Storage.prototype.clearStrg = function() {
	window.localStorage.clear();
}